package com.cainiao.stock.vo;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MoreVO implements Serializable {

    /**
     *交易量
     */
    private Long tradeAmt;
    /**
     *前收盘价
     */
    private BigDecimal preClosePrice;
    /**
     *振幅
     */
    private BigDecimal amplitude;
    /**
     *股票编码
     */
    private String code;
    /**
     *股票名称
     */
    private String name;
    /**
     *当前日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime curDate;
    /**
     *交易金额
     */
    private BigDecimal tradeVol;
    /**
     *涨跌
     */
    private BigDecimal increase;
    /**
     *涨幅
     */
    private BigDecimal upDown;
    /**
     *当前价格
     */
    private BigDecimal tradePrice;


}
